var dbConn = require("../controller/dbConn");
var mongoose = dbConn.mongoose,
    Schema = mongoose.Schema;
var ObjectId = exports.SchemaObjectId = Schema.ObjectId;
var db = dbConn.db;

/**
 *
 * 描述：品牌系列配置模型
 *
 * HISTORY
 * ****************************************************************************
 *  ID   DATE           			         PERSON          REASON
 *  1    2016年9月21日 上午11:53:38      Ghold          Create
 * ****************************************************************************
 */

var studentSchema = new Schema({

    id: String, // 标题
    name: String, // 描述
    age: Number,
    person: ObjectId, // 图片连接
});


var StudentModel = exports.StudentModel = db.model('Student', studentSchema, 'student');
